"use strict"
/**
 *
 * @param {import("egg").Application} app
 */
module.exports = app => {
  const Sequelize = app.Sequelize
  const sequelize = app.model
  let AmoPartci = sequelize.define("amoPartci", {
    id: {
      type: Sequelize.INTEGER,
			primaryKey: true,
			autoIncrement:true
    },
    aid: {
      type: Sequelize.INTEGER,
      comment: "公众号",
    },
    mid: {
      type: Sequelize.INTEGER,
      comment: "具体应用的具体模块",
    },
    oid: {
      type: Sequelize.INTEGER,
    }
  }, {
      tableName: "amo_partci",
      timestamps: false,
      deletedAt: false,
    })
  return AmoPartci
}//参与记录  通过查询